﻿

 


using System;
using System.Collections.Generic;
using System.ServiceModel;
using WcfService1.DTO;


namespace WcfService1
{
    // NOTE: You can use the "Rename" command on the "Refactor" Departemen to change the interface name "IDepartemenServices" in both code and config file together.
    [ServiceContract]
    public interface IDepartemenServices
    {
        [OperationContract]
        List<DepartemenDTO> GetList(int page, out long recordCount, string sortProperty = null, string sortType = "ASC");

        [OperationContract]
        bool Save(DepartemenDTO Departemen);

        [OperationContract]
        bool Delete(DepartemenDTO Departemen);

        [OperationContract]
        List<DepartemenDTO> GetListByCriteria(Dictionary<String, Object> criteria, string expression, int page,
                                      out long recordCount);

        [OperationContract]
        List<DepartemenDTO> GetAllDepartemen();

        [OperationContract]
        DepartemenDTO GetDepartemen(string kodeDepartemen);

        [OperationContract]
        List<DepartemenDTO> GetDepartemenList(string kodeDepartemen);

	

    }
}


